package com.cisetech.mapper.bobocai;



import java.util.List;

import org.springframework.stereotype.Component;

import com.cisetech.mapper.MyBatisRepository;
import com.cisetech.vo.bobocai.LBanner;
/**
 * banner图管理
 * @author Administrator
 *
 */
@Component
@MyBatisRepository
public interface LBannerMapper {
	public int insertAdv(LBanner banner);
	public Integer findListCountAdv();
	public List<LBanner> getListAdv(LBanner banner);
	/**
	 * 删除banner图
	 */
	public int deleteAdv(String id);
	/**
	 * 修改banner图
	 * @param banner
	 * @return 
	 */
	public int UpdateAdv(LBanner banner);
	/**
	 * 根据id查询banner对象
	 * @param banner
	 * @return 
	 */
	public List<LBanner> FindListByAdv(LBanner banner);
}
